
window.$ = {};
//window.browserPrefix;

(function() {
    var b = document.body || document.documentElement,
    s = b.style,
    p = 'transition',
    v = ['Moz', 'Webkit', 'Khtml', 'O', 'ms'],
    i,
    l = v.length,
    w = window,
    bP,
    dollar = w.$;
    
    if(typeof s[p] === 'string') {return true; }

    // Tests for vendor specific prop,
    p = p.charAt(0).toUpperCase() + p.substr(1);
    for(i=0; i<l; i++) {
      if(typeof s[v[i] + p] === 'string') { 
          bP = v[i].toLowerCase();
          dollar.bt = "-" + bP+"-transform";
          dollar.bae = bP + "AnimationEnd";
          dollar.bte = bP + "TransitionEnd";
          dollar.ban = "-" + bP + "-animation-name";
          dollar.bad = "-" + bP + "-animation-duration";
          dollar.btn = "-" + bP + "-transition";
          dollar.btd = "-" + bP + "-transition-duration";
          w.browserPrefix = bP;
          return true; 
      }
    }
    return false;
})();

    
document.addEventListener("DOMContentLoaded", function() {
    
    var app = new App();
    
}, false);